package com.jbp.model;

import java.math.BigDecimal;
import java.util.Date;
import java.io.Serializable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
/**
 * 流水分成记录(Income)实体
 * @author cc
 * @since 2020-07-07 01:18:17
 */
@ApiModel(value="Income")
@Data
public class Income implements Serializable {
    private static final long serialVersionUID = 1L;
        
    
    private Integer id;

    //用户id
    @ApiModelProperty(value="用户id")    
    
    private Integer userId;

    //房间id
    @ApiModelProperty(value="房间id")    
    
    private Integer roomId;

    //爱心
    @ApiModelProperty(value="爱心")    
    
    private BigDecimal aixin;

    //时间
    @ApiModelProperty(value="时间")    
@JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")    
    private Date createTime;

    //类型 auto自动，hand手动
    @ApiModelProperty(value="类型 auto自动，hand手动")    
    
    private String type;

    private String frm;

}